﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="RssList.ascx.cs" Inherits="RedeSocial.Web.UserControls.RssList" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<link href="../Styles/Style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
    .style1
    {
        width: 154px;
    }
    .style2
    {
        width: 29px;
    }
</style>
<telerik:RadListView ID="rlvRSS" runat="server" ItemPlaceholderID="RssContainer">
    <LayoutTemplate>
        <fieldset>
            <legend>Rss</legend>
            <asp:PlaceHolder ID="RssContainer" runat="server" />
        </fieldset>
    </LayoutTemplate>
    <ItemTemplate>
        <table style="width: 100%;">
            <tr>
                <td class="style2">
                    <asp:Label ID="lblRss" runat="server" CssClass="Label" Text="Rss:"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="RssName" Text='<%# Eval("Rss.Name") %>' runat="server" CssClass="Label"></asp:Label>
                </td>
                <td>
   
                    <telerik:RadButton ID="btnRssRemove" runat="server" ButtonType="LinkButton" 
                        Font-Bold="True" Font-Names="Webdings" ForeColor="Red" Text="r">
                    </telerik:RadButton>
   
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style2">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
    </ItemTemplate>
    <InsertItemTemplate>
        <fieldset style="float: left; width: 280px; height: 50px;">
            <table style="width: 100%;">
                <tr>
                    <td class="style1">
                        <asp:Label ID="lblRssAdd" runat="server" CssClass="Label" Text="Introduza o link de Rss:"
                            Width="140px"></asp:Label>
                    </td>
                    <td class="style2">
                        <telerik:RadTextBox ID="txtRssAdd" runat="server" CssClass="TextBox" Width="200px">
                        </telerik:RadTextBox>
                    </td>
                    <td>
                        <telerik:RadButton ID="btnRssAdd" runat="server" CssClass="Buttons" Text="Adicionar Rss"
                            Width="95px">
                        </telerik:RadButton>
                    </td>
                </tr>
            </table>
    </InsertItemTemplate>
</telerik:RadListView>
